package com.kun.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Version:v1.0
 * @Author: 鲁坤
 * @Date: 2021-03-26
 * @ClassName: HandleOrder
 * @Description: 工单处理类 主要为回复信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HandleOrder implements Serializable {
    private int hid;                //回复编号 主键自增
    private int oid;                //工单号
    private String username;        //角色名 用户或者管理员
    private int rolestatus;         //用户为0 管理员为1
    private String reply;           //回复
    private Timestamp replytime;    //回复时间

    public HandleOrder(int oid, String username, int rolestatus, String reply, Timestamp replytime) {
        this.oid = oid;
        this.username = username;
        this.rolestatus = rolestatus;
        this.reply = reply;
        this.replytime = replytime;
    }
}
